package com.pmsystem.dao;

import com.pmsystem.pojo.File;
import com.pmsystem.pojo.FileExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface FileMapper {
    long countByExample(FileExample example);

    int deleteByExample(FileExample example);

    int deleteByPrimaryKey(Integer fileId);

    int insert(File record);

    int insertSelective(File record);

    List<File> selectByExample(FileExample example);

    File selectByPrimaryKey(Integer fileId);

    int updateByExampleSelective(@Param("record") File record, @Param("example") FileExample example);

    int updateByExample(@Param("record") File record, @Param("example") FileExample example);

    int updateByPrimaryKeySelective(File record);

    int updateByPrimaryKey(File record);

    /**
     * 
     * <p>Title: findFile</p >  
     * <p>Description: 查找文件</p >
     * @author 泽强
     * @param map
     * @return
     */
	List<File> findFile(Map<String, Object> map);
}